module.exports = {
    base: '${data.docModel.path}',
    dest: '${data.dest}',
    theme: 'vdoing',
    head: [
        ['link', {rel: 'icon', href: '/logo.ico'}]
    ],
    plugins: [
        'element-ui'
    ],
    displayAllHeaders: true,
    sidebarDepth: 1,
    themeConfig: {
        //左侧导航显示的层级
        sidebarDepth: 2,
        lastUpdated: 'Last Updated',
        search: true,
        searchMaxSuggestions: 10,
        sidebar: {
         <#list data.pathList as path>
            '/${path.pathKey}/': [
                <#list path.apiDoc.apiList as d>
                {
                    title: '${d.value}',
                    collapsable: true,
                    children: [
                        <#list d.methodList as m>
                        {title: '${m.title}', path: '${m.pageLink}'},
                        </#list>
                    ]
                },
                </#list>
            ],
            </#list>
        },
        nav: [
            {
                text: '其他服务接口', link: '',
                items: [
                    <#list data.pathList as path>
                    {text: '${path.name}', link: '/${path.pathKey}/'},
                    </#list>
                ]
            }
        ]
    },
    title: '${data.docModel.name}',
    description: '${data.docModel.descr}'
}
